package router

import (
	"gintify/api/v1"
	"github.com/gin-gonic/gin"
)

func RegisterApiBlueprint(Router *gin.RouterGroup) {
	// 用户控制器
	c := v1.NewApiController()

	// 用户路由组
	r := Router.Group("/apis")
	{
		r.POST("", c.Post)
		r.GET("", c.GetList)
		r.GET("/:id", c.Get)
		r.PUT("/:id", c.Put)
		r.PATCH("/:id", c.Patch)
		r.DELETE("/:id", c.Delete)
	}
}


